const modules = {}

const metas = import.meta.glob('./*.vue', {
	import: 'default',
	eager: true
})

for (let key in metas) {
	let k = key.replace('/', '')
	if (k !== 'index') {
		modules[k.replace(/(\.\/|\.js)/g, '')] = metas[key]
	}
}

export default modules
